#include "inside.hpp"
namespace Input {
void Inside::init() {
  Ins2::person p{"Ned Flanders", "744 Evergreen Terrace", 60};
  json j = p;

  std::cout << j << std::endl;
  // {"address":"744 Evergreen Terrace","age":60,"name":"Ned Flanders"}

  // conversion: json -> person
  auto p2 = j.get<Ins2::person>();

  // that's it
  assert(p == p2);
}
} // namespace Input